func golang.org/x/sys/unix.cmsgAlignOf
8 uses
golang.org/x/sys/unix (current package)
sockcmsg_unix.go#L18: return cmsgAlignOf(SizeofCmsghdr) + datalen
sockcmsg_unix.go#L24: return cmsgAlignOf(SizeofCmsghdr) + cmsgAlignOf(datalen)
sockcmsg_unix.go#L28: return unsafe.Pointer(uintptr(unsafe.Pointer(h)) + uintptr(cmsgAlignOf(SizeofCmsghdr)) + offset)
sockcmsg_unix.go#L49: i += cmsgAlignOf(int(h.Len))
sockcmsg_unix.go#L62: if i := cmsgAlignOf(int(h.Len)); i < len(b) {
sockcmsg_unix.go#L73: return h, b[cmsgAlignOf(SizeofCmsghdr):h.Len], nil
sockcmsg_unix_other.go#L14: func cmsgAlignOf(salen int) int {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)